package com.edu.service.impl;

import com.edu.dao.productOrderDao;
import com.edu.dao.impl.productOrderDaoImpl;
import com.edu.entity.productOrder;
import com.edu.service.productOrderService;
import java.util.List;

public class productOrderServiceImpl implements productOrderService {
    productOrderDao po = new productOrderDaoImpl(); 
    
    @Override
    public List<productOrder> getAll(int sellerId, int type) {
        return po.getAll(sellerId, type);
    }
    
    @Override
    public boolean cancelOrder(int orderId, int sellerId) {
        return po.cancelOrder(orderId, sellerId);
    }
    
    @Override
    public boolean shipOrder(int orderId, int sellerId, String trackingNumber) {
        return po.shipOrder(orderId, sellerId, trackingNumber);
    }

	@Override
	public boolean offShelf(int goodsid) {
		// TODO Auto-generated method stub
		return po.offShelf(goodsid);
	}

	@Override
	public boolean offShelfgoods(int goodsid, int sellerId) {
		// TODO Auto-generated method stub
		return po.offShelfgoods(goodsid, sellerId);
	}
}